package com.weimob.cloud.api.bos.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.weimob.cloud.api.bos.req.WeimobGetUserInfoReq;
import com.weimob.cloud.api.bos.rsp.WeimobGetUserInfoRsp;
import com.weimob.cloud.api.common.WeimobCloudRsp;
import com.weimob.cloud.api.token.interceptor.WeimobTokenInterceptor;

/**
 * 微明云平台店铺用户管理客户端接口
 */
@BaseRequest(baseURL = "https://dopen.weimob.com/apigw/bos/v2.0/user", interceptor = WeimobTokenInterceptor.class)
public interface WeimobBosUserClient {

    /**
     * 商家查询用户信息
     */
    @Post(url = "/info/get?accesstoken=${accessToken}")
    WeimobCloudRsp<WeimobGetUserInfoRsp> getUserInfo(@JSONBody WeimobGetUserInfoReq req);
}
